package com.twu.biblioteca;

public class Book {

    private String title;
    private Boolean reserved;

    public  Book(String s) {
        title = s;
        reserved = false;
    }

    public String title()
    {
        return title;
    }
    public String toString() {
        return title;
    }

    public boolean isReserved() {
        return reserved;
    }

    public void reserve() {
        reserved = !reserved;
    }
}
